/*
 *  playerControlledShip.cpp
 *  
 *
 *  Created by Nicholas Blecha on 10/11/10.
 *  Copyright 2010 Michigan Technological University. All rights reserved.
 *
 */

#include "playerControlledShip.h"

PlayerControlledShip::PlayerControlledShip(Renderer* rend, Logic *lgc) : Fighter(20,100,10){
	rnd = rend;
	logic = lgc;
	image = rnd->loadImage("Images//FighterJet128.png");
		if (image==NULL) {
			throw "Failed to load image";
		} else {
			texId = rnd->createTexture(image);
		}

	position.x = 200;
	position.y = 200;
	position.w = image->w;
	position.h = image->h;

	drawPos->w=image->w;
	drawPos->h=image->h;
	
	defaultLaserImagePath = "Images//laser0.png";
	/*delete(special);
	special = new MissileAttack(this);
	*/
}
	
PlayerControlledShip::~PlayerControlledShip() {
	
}
